home *** CD-ROM | disk | FTP | other *** search
/ Sunday Savers: Sharing Fun! I Know My Savior Lives / Sunday Savers: Sharing Fun! I Know My Savior Lives.iso / mac / Xtras / Buddy API 1.6 / Buddy API Docs.swf / texts / 1094.txt < prev    next >
Encoding:
Text File  |  2004-08-31  |  5.7 KB  |  283 lines

  1. 12
  2. --- RECORDSEPARATOR ---
  3.  
  4. --- RECORDSEPARATOR ---
  5. CpuInfo 
  6. --- RECORDSEPARATOR ---
  7. Platform:
  8. --- RECORDSEPARATOR ---
  9.  
  10. --- RECORDSEPARATOR ---
  11. Windows
  12. --- RECORDSEPARATOR ---
  13.  
  14. --- RECORDSEPARATOR ---
  15. Description:
  16. --- RECORDSEPARATOR ---
  17.  
  18. --- RECORDSEPARATOR ---
  19. baCpuInfo returns information about the processor installed.
  20. --- RECORDSEPARATOR ---
  21.  
  22. --- RECORDSEPARATOR ---
  23. Usage:
  24. --- RECORDSEPARATOR ---
  25.  
  26. --- RECORDSEPARATOR ---
  27. Result = baCpuInfo( InfoType )
  28. --- RECORDSEPARATOR ---
  29.  
  30. --- RECORDSEPARATOR ---
  31. Arguments:
  32. --- RECORDSEPARATOR ---
  33.  
  34. --- RECORDSEPARATOR ---
  35. String. 
  36. --- RECORDSEPARATOR ---
  37. InfoType is the type of information to get. Can be: 
  38. --- RECORDSEPARATOR ---
  39. "vendor" 
  40. --- RECORDSEPARATOR ---
  41. the processor manufacturer 
  42. --- RECORDSEPARATOR ---
  43. "type" 
  44. --- RECORDSEPARATOR ---
  45. returns the type of processor 
  46. --- RECORDSEPARATOR ---
  47. "model" 
  48. --- RECORDSEPARATOR ---
  49. the model of the processor 
  50. --- RECORDSEPARATOR ---
  51. "stepping" 
  52. --- RECORDSEPARATOR ---
  53. the stepping revision number 
  54. --- RECORDSEPARATOR ---
  55. "speed" 
  56. --- RECORDSEPARATOR ---
  57. the speed of the processor in mHz
  58. --- RECORDSEPARATOR ---
  59.  
  60. --- RECORDSEPARATOR ---
  61. Returns:
  62. --- RECORDSEPARATOR ---
  63.  
  64. --- RECORDSEPARATOR ---
  65. Integer or string depending on the InfoType. 
  66. --- RECORDSEPARATOR ---
  67. See the Notes section for details on interpreting the return.
  68. --- RECORDSEPARATOR ---
  69.  
  70. --- RECORDSEPARATOR ---
  71. Examples:
  72. --- RECORDSEPARATOR ---
  73.  
  74. --- RECORDSEPARATOR ---
  75. Director: 
  76. --- RECORDSEPARATOR ---
  77. set Cpu = baCpuInfo( "type" ) 
  78. --- RECORDSEPARATOR ---
  79. Authorware: 
  80. --- RECORDSEPARATOR ---
  81. Cpu := baCpuInfo( "type" )
  82. --- RECORDSEPARATOR ---
  83.  
  84. --- RECORDSEPARATOR ---
  85. Notes:
  86. --- RECORDSEPARATOR ---
  87.  
  88. --- RECORDSEPARATOR ---
  89. The "vendor" option returns a string containing the name of the manufacturer of the 
  90. --- RECORDSEPARATOR ---
  91. processor. This will be a 12 character string, the most common returns will be 
  92. --- RECORDSEPARATOR ---
  93. "GenuineIntel", "AuthenticAMD" and "CryixInstead" but there will be others for chips 
  94. --- RECORDSEPARATOR ---
  95. from IBM, Compaq, DEC and others. 
  96. --- RECORDSEPARATOR ---
  97. This function contains identification code from Intel and AMD and is only reliable 
  98. --- RECORDSEPARATOR ---
  99. with those processors. Other brands will report that they are equivalent to an Intel 
  100. --- RECORDSEPARATOR ---
  101. processor, but that will not necessarily be a valid comparison. 
  102. --- RECORDSEPARATOR ---
  103. To determine the actual processor model, you need to interpret both the "type" and 
  104. --- RECORDSEPARATOR ---
  105. "model" options. The "type" option will identify a general family of processor eg: 
  106. --- RECORDSEPARATOR ---
  107. 486, Pentium or K6. The "model" option will give specific information about the 
  108. --- RECORDSEPARATOR ---
  109. model within a particular family. "stepping" is the revision number of a specific 
  110. --- RECORDSEPARATOR ---
  111. model, and will not generally be useful. Refer to the following table to determine a 
  112. --- RECORDSEPARATOR ---
  113. processor.
  114. --- RECORDSEPARATOR ---
  115.  
  116. --- RECORDSEPARATOR ---
  117. Intel CPUs
  118. --- RECORDSEPARATOR ---
  119.  
  120. --- RECORDSEPARATOR ---
  121. Description 
  122. --- RECORDSEPARATOR ---
  123. Type 
  124. --- RECORDSEPARATOR ---
  125. Model 
  126. --- RECORDSEPARATOR ---
  127. 486 DX 
  128. --- RECORDSEPARATOR ---
  129. --- RECORDSEPARATOR ---
  130. 0, 1 
  131. --- RECORDSEPARATOR ---
  132. 486 SX 
  133. --- RECORDSEPARATOR ---
  134. --- RECORDSEPARATOR ---
  135. --- RECORDSEPARATOR ---
  136. 486 DX2 
  137. --- RECORDSEPARATOR ---
  138. --- RECORDSEPARATOR ---
  139. 3, 7 
  140. --- RECORDSEPARATOR ---
  141. 486 SL 
  142. --- RECORDSEPARATOR ---
  143. --- RECORDSEPARATOR ---
  144. --- RECORDSEPARATOR ---
  145. 486 SX2 
  146. --- RECORDSEPARATOR ---
  147. --- RECORDSEPARATOR ---
  148. --- RECORDSEPARATOR ---
  149. 486 DX4 
  150. --- RECORDSEPARATOR ---
  151. --- RECORDSEPARATOR ---
  152. --- RECORDSEPARATOR ---
  153. Pentium 
  154. --- RECORDSEPARATOR ---
  155. --- RECORDSEPARATOR ---
  156. 1, 2 
  157. --- RECORDSEPARATOR ---
  158. Pentium Overdrive 
  159. --- RECORDSEPARATOR ---
  160. --- RECORDSEPARATOR ---
  161. --- RECORDSEPARATOR ---
  162. Pentium MMX 
  163. --- RECORDSEPARATOR ---
  164. --- RECORDSEPARATOR ---
  165. --- RECORDSEPARATOR ---
  166. Pentium Pro 
  167. --- RECORDSEPARATOR ---
  168. --- RECORDSEPARATOR ---
  169. --- RECORDSEPARATOR ---
  170. Pentium II (r1) 
  171. --- RECORDSEPARATOR ---
  172. --- RECORDSEPARATOR ---
  173. --- RECORDSEPARATOR ---
  174. Pentium II (r2) 
  175. --- RECORDSEPARATOR ---
  176. --- RECORDSEPARATOR ---
  177. --- RECORDSEPARATOR ---
  178. Celeron (r1) 
  179. --- RECORDSEPARATOR ---
  180. --- RECORDSEPARATOR ---
  181. --- RECORDSEPARATOR ---
  182. Celeron (r2) 
  183. --- RECORDSEPARATOR ---
  184. --- RECORDSEPARATOR ---
  185. --- RECORDSEPARATOR ---
  186. Pentium III 
  187. --- RECORDSEPARATOR ---
  188. --- RECORDSEPARATOR ---
  189. 7, 8, 11 
  190. --- RECORDSEPARATOR ---
  191. Pentium III Xeon 
  192. --- RECORDSEPARATOR ---
  193. --- RECORDSEPARATOR ---
  194. 8, 10 
  195. --- RECORDSEPARATOR ---
  196. Pentium 4 
  197. --- RECORDSEPARATOR ---
  198. 15 
  199. --- RECORDSEPARATOR ---
  200. 0
  201. --- RECORDSEPARATOR ---
  202.  
  203. --- RECORDSEPARATOR ---
  204. AMD CPUs
  205. --- RECORDSEPARATOR ---
  206.  
  207. --- RECORDSEPARATOR ---
  208. Description 
  209. --- RECORDSEPARATOR ---
  210. Type 
  211. --- RECORDSEPARATOR ---
  212. Model 
  213. --- RECORDSEPARATOR ---
  214. AMD K5 
  215. --- RECORDSEPARATOR ---
  216. --- RECORDSEPARATOR ---
  217. < 6 
  218. --- RECORDSEPARATOR ---
  219. AMD K6 
  220. --- RECORDSEPARATOR ---
  221. --- RECORDSEPARATOR ---
  222. 6, 7 
  223. --- RECORDSEPARATOR ---
  224. AMD K6-II 
  225. --- RECORDSEPARATOR ---
  226. --- RECORDSEPARATOR ---
  227. --- RECORDSEPARATOR ---
  228. AMD K6-III 
  229. --- RECORDSEPARATOR ---
  230. --- RECORDSEPARATOR ---
  231. --- RECORDSEPARATOR ---
  232. AMD Athlon 
  233. --- RECORDSEPARATOR ---
  234. --- RECORDSEPARATOR ---
  235. 1 - 10 
  236. --- RECORDSEPARATOR ---
  237. AMD Duron 
  238. --- RECORDSEPARATOR ---
  239. --- RECORDSEPARATOR ---
  240. 3, 6, 7 
  241. --- RECORDSEPARATOR ---
  242. The "speed" returned is only an approximation within a variation of about 10%. If 
  243. --- RECORDSEPARATOR ---
  244. the processor has been overclocked, the speed it is running at will be returned. 
  245. --- RECORDSEPARATOR ---
  246. Intel specifically warn against quoting this number to users, because it can not be 
  247. --- RECORDSEPARATOR ---
  248. guaranteed to be accurate. Use this number as a guide only.